<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .sharp-angle {
            position: relative;
            width: 200px;
            height: 50px;
            margin: 300px auto;
            text-align: center;
            line-height: 50px;
            color: #fff;
            background-color: salmon;
        }
        .sharp-angle::first-letter {
            font:  bold 20px "微软雅黑" ;
        }

        .sharp-angle::after {
            content: "";
            position: absolute;
            top: 0;
            right: -50px;
            border: 25px solid rgb(0, 162, 255);
            border-top-color: transparent;
            border-right-color: transparent;
            border-bottom-color: transparent;
        }

        .sharp-angle::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            border: 25px solid #fff;
            border-top-color: transparent;
            border-right-color: transparent;
            border-bottom-color: transparent;
        }
    </style>
</head>

<body>
    <div class="sharp-angle">尖角制作</div>
</body>

</html>